#pragma once
#include"SystemHeaders.h"


class Texture
{
private:
	GLuint id;
	std::string filename;
	unsigned int width;
	unsigned int height;
	bool alpha;
	unsigned char red;
	unsigned char blue;
	unsigned char green;

public:
	Texture();
	Texture(const Texture&);
	Texture(std::string);
	~Texture();
	unsigned int LoadTexture(std::string);
	unsigned int LoadTexture(std::string, unsigned char red, unsigned char green, unsigned char blue);
	unsigned int ReloadTexture();
	bool DisposeTexture();
	bool DrawTexture(int X, int Y, GLfloat Scale = 1,GLfloat Rotation = 0, GLfloat red = 1.0f, GLfloat green = 1.0f, GLfloat blue = 1.0f);
	unsigned int GetId();
	unsigned int GetWidth();
	unsigned int GetHeight();
};